package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type OrgArticleAdminController struct {
	auto.OrgArticleController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/:id", 		&OrgArticleAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/info", 		&OrgArticleAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/scan", 		&OrgArticleAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/list", 	    &OrgArticleAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/update", 	&OrgArticleAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/create", 	&OrgArticleAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/copy", 	    &OrgArticleAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/edit", 	    &OrgArticleAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/delete", 	&OrgArticleAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/:id/:field", &OrgArticleAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/choice", &OrgArticleAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/OrgArticle/category", &OrgArticleAdminController{}, "*:CategoryAction")
}
//func (this *OrgArticleAdminController) Prepare() {}
//func (this *OrgArticleAdminController) ListAction() {}
//func (this *OrgArticleAdminController) GetAction() {}
//func (this *OrgArticleAdminController) InfoAction() {}
//func (this *OrgArticleAdminController) ScanAction() {}
//func (this *OrgArticleAdminController) CreateAction() {}
//func (this *OrgArticleAdminController) UpdateAction() {}
//func (this *OrgArticleAdminController) CopyAction() {}
//func (this *OrgArticleAdminController) DeleteAction() {}
//func (this *OrgArticleAdminController) EditAction() {}
//func (this *OrgArticleAdminController) SonsAction() {}
//func (this *OrgArticleAdminController) ChoiceAction() {}
//func (this *OrgArticleAdminController) CategoryAction() {}
